<template>
  <div>
    <div class="container">
      <p>{{bookInfo.shortIntro}}</p>
    </div>
    <div class="lastest">{{bookChapter[0].lastChapter}}</div>
  </div>
</template>

<script>

export default {
  name: 'bookIntroduce',
  props: {
    bookInfo: Object,
    bookChapter: Array,
  },
  data () {
    return {


    };
  },

  components: {},

  computed: {},
  created () {

    console.log(this.bookChapter);

  },

  beforeMount () { },

  mounted () { },

  methods: {

  },

  watch: {}

}

</script>
<style  scoped  lang="less">
.container {
  width: 100%;
  height: 250px;
  display: flex;
  background-color: #fff;
  justify-content: center;
  align-items: center;
  p {
    &:nth-child(1) {
      width: 90%;
      height: 230px;
    }
  }
}
.lastest {
  width: 100%;
  background-color: #fff;
  height: 20px;
  text-indent: 1em;
}
</style>